package Demo2;

public class Dog implements Ieat{
    @Override
    public void eat() {
        System.out.println("dog is eatting...");
    }

    public void bark(){
        System.out.println("dog is barking...");
    }
    @Override
    public void sleep() {
        System.out.println("dog is sleeping...");
    }
}
